/*****************************************************************
Wowengine - v0.1

File: wen_texture.h
Creation date: 2009-06-26
*****************************************************************/

/****************************************************************/
#ifndef WEN_TEXTURE_H
#define WEN_TEXTURE_H
//----------------------------------------------------------------
#include "system/wen_system.h"
/****************************************************************/

namespace wen
{
//----------------------------------------------------------------
class WEN_API Texture
{	
	DECLARE_SMART_POINTER(Texture);

/****************************/
// Constructor / Destructor
/****************************/
public:

	Texture(std::string const &rkFilename, unsigned long ulColor);
	~Texture();

/****************************/
// Accesors
/****************************/
public:

	unsigned int GetWidth() const;
	unsigned int GetHeight() const;
	
	void SetWidth(unsigned int uiWidth);
	void SetHeight(unsigned int uiHeight);

	std::string GetFilename() const;
	unsigned long GetColorkey() const;

/****************************/
// Propiedades
/****************************/
private:

	unsigned long m_ulColor;
	unsigned int m_uiWidth;
	unsigned int m_uiHeight;
	std::string m_kFilename;
};
/****************************************************************/
#include "wen_texture.inl"
/****************************************************************/

//----------------------------------------------------------------
} // end namespace
//----------------------------------------------------------------
#endif // WEN_TEXTURE_H
//----------------------------------------------------------------